package com.neuedu.mblog.entiry;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 角色
 * @author - langhsu on 2018/2/11
 */
@Data
public class Role implements Serializable {
    private static final long serialVersionUID = -1153854616385727165L;

    public static int STATUS_NORMAL = 0;
    public static int STATUS_CLOSED = 1;

    public static String ROLE_ADMIN = "admin";

    public static long ADMIN_ID = 1;


    private long id;


    private String name;


    private String description;

    private int status;


    private List<Permission> permissions;


}
